package com.hpp.utils.email;

public class ResultCode {

	public static String USER_LOGIN_INFO = "USER_LOGIN_INFO";//用户信息（old）
 
	public static String ADMIN_LOGIN_INFO = "user";//用户信息（old）
	
	public static String USER_INFO = "userInfo";//用户信息
	
	public static String ISC_USER_INFO = "iscUserInfo";//用户信息
	
	public static String USER_NAME = "USER_NAME";//用户名

	public static String MAIL = "MAIL";//邮箱
	
	public static String MENU_INFO = "menuList";//菜单列表
	
	public static String MAIL_CODE = "mail_code";//邮箱验证码
	
	public static String PASS_MAIL_CODE = "PASS_MAIL_CODE";//通过邮箱验证码
	
	public static String CODE = "code";//普通验证码
	
	public static String IP_ADDRESS = "IP_ADDRESS";//ip地址
	
	public static String SSO_STATE = "SSO_STATE";//记录单点登录装备1登录中，2被登出
	
	public static String SSO_ADDRESS = "SSO_ADDRESS";//单点登录账号ip地址
	
	public static String SSO_LOGOUT_ADDRESS = "SSO_LOGOUT_ADDRESS";//被登出ip地址
	
	public static String LOGOUT_STATE = "2";//强制登出
	
	public static String NET_PROVINCE_ID = "NET_PROVINCE_ID";//网省ID
	
	//存储所有session对象
	public static String SESSION_FACTORY = "SESSION_FACTORY";
	
/*	1000	ERROR	错误
	1001	USER_NOT_EXIST	用户不存在
	1002	USER_NAME_EXIST	登录用户名已经被使用
	1003	USER_PWD_ERROR	密码错误！
	1004	USER_ALREADY_DEL 用户已被删除！
	1005	CHECK_NO_RECORD	查询无此记录
	1006	TOKEN_NOT_EXIST	用户TOKEN不存在
	1007	TOKEN_ALREADY_EXPIRE	
	1008    NICK_NAME_EXIST 用户昵称已经被使用
	1009    USER_NAME_LENGTH 用户名称长度
	1010    ERROR_PARAM 参数错误*/
	
	public static Integer SUCCESS = 2000;
	public static Integer ERROR = 1000;	
	
	public static Integer USER_NOT_EXIST = 1001;
	public static Integer USER_NAME_EXIST = 1002;
	public static Integer USER_PWD_ERROR = 1003;
	public static Integer USER_ALREADY_DEL = 1004;
	public static Integer CHECK_NO_RECORD = 1005;
	public static Integer TOKEN_NOT_EXIST = 1006;
	public static Integer TOKEN_ALREADY_EXPIRE = 1007;
	public static Integer NICK_NAME_EXIST = 1008;
	public static Integer USER_NAME_LENGTH = 1009;
	public static Integer ERROR_PARAM = 1010;
 
	public static final Integer USER_NO_AUTH = 1011;
	public static final Integer USER_OLD_PWD_ERROR = 1012;
	
	public static final Integer RESP_LOGINERROR_AUTHCODE = 2003;
	public static final Integer RESP_ERROR_SESSIONILLEGAL = 2004;
}
